package myzd.domain.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author zks
 * @since 2017/10/19 9:42
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
public class Disease {
  private Integer id;
  private String name;
  /**
   * 名字拼音首字母
   */
  private String initial;
  private String popularName;
  private String description;
  private Boolean userVisible;
  private Boolean doctorVisible;
  private Integer isCommon;
  @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'")
  private Date createdAt;
  @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'")
  private Date modifiedAt;
}
